package com.lagou.dockerdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author jinshanzhang
 * @version 1.0
 * @description 学生表
 * @date 2021/12/16 5:24 下午
 */
@TableName(value = "tb_student")
public class TbStudent {

    @TableId(type = IdType.AUTO)
    private Integer studentId;

    private String studentName;

    private String studentNo;

    public TbStudent() {
    }

    public TbStudent(Integer studentId, String studentName, String studentNo) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.studentNo = studentNo;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    @Override
    public String toString() {
        return "TbStudent{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", studentNo='" + studentNo + '\'' +
                '}';
    }
}
